package com.firstgroup.society.tourdiv.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.firstgroup.society.common.utils.PageUtils;
import com.firstgroup.society.common.utils.Query;

import com.firstgroup.society.tourdiv.dao.TourDivOrderDao;
import com.firstgroup.society.tourdiv.entity.TourDivOrderEntity;
import com.firstgroup.society.tourdiv.service.TourDivOrderService;


@Service("tourDivOrderService")
public class TourDivOrderServiceImpl extends ServiceImpl<TourDivOrderDao, TourDivOrderEntity> implements TourDivOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TourDivOrderEntity> page = this.page(
                new Query<TourDivOrderEntity>().getPage(params),
                new QueryWrapper<TourDivOrderEntity>()
        );

        return new PageUtils(page);
    }

}